scale {
// sizing
+
+ $_marks_lenght: 6px;
+ $_marks_distance: 6px;
+
min-height: 10px;
min-width: 10px;
padding: 12px;
}
}
- marks { color: gtkalpha(currentColor, 0.4); }
- &.horizontal mark indicator {
- min-height: 8px;
+ marks {
+ color: gtkalpha(currentColor, 0.4);
+
+ &.top { margin-bottom: $_marks_distance; }
+ &.bottom { margin-top: $_marks_distance; }
+ &.left { margin-right: $_marks_distance; }
+ &.right { margin-left: $_marks_distance; }
+ }
+
+ &.horizontal indicator {
+ min-height: $_marks_lenght;
min-width: 1px;
}
- &.vertical mark indicator {
+ &.vertical indicator {
min-height: 1px;
- min-width: 8px;
+ min-width: $_marks_lenght;
}
// *WARNING* scale with marks madness following
-gtk-icon-shadow: none; }
scale marks {
color: alpha(currentColor,0.4); }
- scale.horizontal mark indicator {
- min-height: 8px;
+ scale marks.top {
+ margin-bottom: 6px; }
+ scale marks.bottom {
+ margin-top: 6px; }
+ scale marks.left {
+ margin-right: 6px; }
+ scale marks.right {
+ margin-left: 6px; }
+ scale.horizontal indicator {
+ min-height: 6px;
min-width: 1px; }
- scale.vertical mark indicator {
+ scale.vertical indicator {
min-height: 1px;
- min-width: 8px; }
+ min-width: 6px; }
scale.color.horizontal trough > trough > slider, scale.horizontal contents:last-child:not(:only-child) > trough > slider {
margin: -9px;
border-style: none;
-gtk-icon-shadow: none; }
scale marks {
color: alpha(currentColor,0.4); }
- scale.horizontal mark indicator {
- min-height: 8px;
+ scale marks.top {
+ margin-bottom: 6px; }
+ scale marks.bottom {
+ margin-top: 6px; }
+ scale marks.left {
+ margin-right: 6px; }
+ scale marks.right {
+ margin-left: 6px; }
+ scale.horizontal indicator {
+ min-height: 6px;
min-width: 1px; }
- scale.vertical mark indicator {
+ scale.vertical indicator {
min-height: 1px;
- min-width: 8px; }
+ min-width: 6px; }
scale.color.horizontal trough > trough > slider, scale.horizontal contents:last-child:not(:only-child) > trough > slider {
margin: -9px;
border-style: none;